package com.example.mbl.service;

import com.example.mbl.entity.Patent;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.PatentPageResult;

import java.util.List;

public interface PatentService {
    List<Patent> searchItemsByKeyWord(String keyword);
    WebRestResult addPatent(Patent patent);
    WebRestResult deletePatent(Patent patent);
    WebRestResult updatePatent(Patent patent);
    PageResult<PatentPageResult> getPatentList(String year,int page,int pagesize);
}
